home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Programmer Disk
/
The Programmer Disk (Microforum).iso
/
xpro
/
tutor
/
pro30
/
readchar.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
1991-02-04
|
404b
|
23 lines
(* Chapter 10 - Program 4 *)
program Read_Some_Char_Data;
var Letter : char;
Index : byte;
begin
for Index := 1 to 5 do begin
Write('Input a character ');
Readln(Letter);
Writeln('The character input was an ',Letter);
end;
end.
{ Result of execution
( The results depend on the data entered at the keyboard)
}